cursorMove
sop4618_SSourcesop4618_ScursorMove
Description Source Call Graph
Start Line: 434
void sop4618_S::cursorMove(char dir, uint8_t count=1)
{
  if(dir < 'A' || dir > 'D')
    return;

  String s("\e[");
  char buf[6];
  memset(buf, 0x0, sizeof(buf));
  itoa(count, buf, 10);
  s += buf + String(dir);
  s.toCharArray(buf, sizeof(buf));
  puts(buf);
  flush();
}